package kr.co.redcircle.console.dialog;

import kr.co.redcircle.console.dialog.contents.MessageDialogContents;

import org.eclipse.swt.graphics.Image;
import org.eclipse.wb.swt.SWTResourceManager;

public class AlertMessageContent {

	public static final int NOT_DEFINE = -1;
	public static final int ERROR = 0;
	public static final int INFOR = 1;
	public static final int WARRN = 2;
	public static final int QUEST = 3;
	
	private int messageType = -1;
	private String title = "";
	private String message = "";
	private Image mainImage = null;
	
	
	public AlertMessageContent(int messageType, String title, String message, String img) {
		super();
		this.messageType = messageType;
		this.title = title;
		this.message = message;
		this.mainImage = SWTResourceManager.getImage(MessageDialogContents.class, img);
	}

	public Image getMainImage() {
		return mainImage;
	}

	public void setMainImage(Image mainImage) {
		this.mainImage = mainImage;
	}


	public int getMessageType() {
		return messageType;
	}
	
	public void setMessageType(int mode) {
		this.messageType = mode;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
